Radar tank gauge

ABSTRACT

A sweep frequency, continuous wave (CW) radar tank gauge (3) providing measurement of the level of tank contents or ullage (19), having greatly improved accuracy through improved methods of processing calibrate and return signals directed toward the surface of tank contents (20). Use of sweep synchronous measurement (46) of time domain calibrate/return difference signals (42) and determination of a virtual &#34;carrier&#34; fundamental in the frequency domain, provide highly accurate measure of tank signal return times. The entire range of return signals is made available for processing and analysis (5), including distinguishable tank bottom reflections.

DISCLOSURE STATEMENT

This disclosure statement is made pursuant to the duty of disclosure imposed by law and formulated in 37 CFR 1.56(a). No representation is hereby made that information thus disclosed in fact constitutes prior art, inasmuch as 37 CFR 1.56(a) relies on a materiality concept which depends on uncertain and inevitably subjective elements of substantial likelihood and reasonableness, and inasmuch as a growing attitude appears to require citation of material which might lead to a discovery of pertinent material though not necessarily being of itself pertinent. Also, the following comments contain conclusions and observations which have only been drawn or become apparent after conception of the subject invention or which contrast the subject invention or its merits against the background of developments subsequent in time or priority.

BACKGROUND OF THE INVENTION

This invention refers generally to tank level or ullage measurement by reflection of RF or radar signals directed at the surface of the tank contents, and more particularly concerns time/frequency domain processing of calibrate and return signals utilizing digital techniques.

Radar reflective techniques are well known to those skilled in tank level measurement arts. Exemplary of systems of this type is disclosed and claimed in U.S. Pat. No. 4,044,355, hereby incorporated by reference. This patent discloses and claims a sweep frequency, continuous wave radar gauge employing complex analog filtering and processing techniques to improve accuracy of level measurements.

Prior art systems of this type are in fairly common use and have provided reasonably satisfactory operation however, systems of this type suffer from substantial difficulties due to highly complicated systems of removing spurious reflected signals encountered when received signals reflected from the tank content surface are processed. Known gauges of this type suffer from highly complex analog signal processing equipment and resultant degradation of accuracy over periods of time and use.

The system disclosed in this application overcomes many of the shortcomings inherent in presently used systems through the use of time/frequency domain transformations and a novel sweep synchronous measurement and storage of a generated transmit/receive difference signal. The inventions includes determination of a novel "virtual carrier" representation of the differences between transmitted and received tank signals.

It is therefore an object of this invention to provide a radar tank level gauge having improved accuracy through the use of synchronized sweep frequency, and measurement of a generated difference signal having a frequency proportional to tank level.

It is an additional object of this invention to provide a radar tank gauge utilizing time/frequency domain processing of a transmit/return difference signal over a predetermined swept frequency range.

It is a further object of this invention to provide a radar tank gauge wherein a virtual modulated carrier representation of the true transmit/return tank signal and calibrate signal difference is generated.

It is yet an additional object of this invention to provide a radar tank gauge wherein the sweep frequency signal includes gain compensation.

It is a further object of this invention to provide a radar tank gauge wherein returned difference signals include the full range of reflected information, including information sufficient to distinguish the tank bottom or distance limit of the predetermined measurement range.

SUMMARY OF THE INVENTION

A signal from a radar antenna positioned internal of a storage tank or other container for fluent material, allowing transmission and reception of radio frequency waves from the antenna to the surface, and then reflected from the surface back to the antenna. The transmitted signal typically having a frequency of 10 gigahertz (GHZ) sweeps or is varied over a frequency range of 1 GHZ in a linear or semi-sawtooth fashion. In keeping with conventional radar gauging techniques, an identical swept radio frequency signal is also transmitted through a calibrating line of known length.

Signals reflected from the surface of the fluent material delayed due to travel to and from the antenna are mixed through conventional techniques to provide a difference signal having a frequency representative of the distance traveled. Similarly processed calibration line and reflected signals are utilized to determine an accurate distance from antenna to fluent material surface.

A central processing unit triggers or initiates the sweep frequency and sampling period so as to be in synchronization although asynchronous with the difference signal. Measurement and storage intervals of "bins" are part of the novel signal processing aspect of the invention disclosed herein. The significance of the "bin" will become apparent from further description.

The central processing unit remote from the RF and sweep control portion establishes the above mentioned sweep periods and bin parameters through the use of a sweep control clock. Also contained in the central processing unit is means for converting received signals from time to frequency domain for further processing. Display signals are also performed by the central processing unit so that a continuous reading of tank content level or ullage is displayed.

The difference signal received from the mixer typically in the audio range of 0.25 to 9.6 kilohertz, is supplied or transmitted to the frequency analysis portion of the central processing unit. The received difference signal is sampled and stored.

These time domain difference signals are processed by the central processing unit utilizing a fast Fourier transform (FFT), thereby establishing a frequency domain representation of sinusoidal components contained in the difference signal. The frequency domain representation establishes the above mentioned bins, each bin containing a predetermined number of difference signal cycles.

Those skilled in the art will readily recognize that use of a synchronous sampling yields, after transformation by fast Fourier transfer (FFT) of the sampled return difference signal, a frequency domain signal essentially in the form of SINx/x. In keeping with the invention disclosed, synchronization of the sweep frequency and storage bin sampled periods results in a frequency domain representation of the signal's power spectral density, wherein frequencies are arrayed over the difference frequency range, with distinguishable amplitudes.

Further processing continues with selection of the principle frequency component of the transformed difference signal, analyzed from each bin content, resulting in a single or "carrier" frequency, having a period closely representative of twice the distance from the transmitting antenna to the tank material level. It should be noted that applicants have discovered that in essence, the received difference signal is essentially a modulated carrier wherein the carrier represents the true directly reflected signal and modulating components due to spurious reflection and other radio frequency interference, constitute "modulation" of the carrier. Therefore, in processing distinctly opposite to conventional detection, wherein the carrier is removed and sidebands generated by the modulation are retained, applicant's invention utilizes a novel technique to in essence, remove the modulation, thereby making the carrier available for distance measurement.

In keeping with the further aspects of applicants' invention, the power spectral density of the carrier signal as determined, is utilized to determine a centroid of the carrier fundamental. A similar centroid of the calibration signal is also determined. It will be readily understood by those skilled in the art that the quotient of the carrier centroid over the calibration centroid contains the information which allows correction based on the delay line length, thus providing a true measurement of the distance between tank antenna and tank content surface. Further corrections to the true length due to physical locations of radio frequency components are also provided by central processing unit operation.

BRIEF DESCRIPTION OF THE DRAWINGS

Other objects and advantages of the invention will become apparent on reading the following detailed description and upon reference to the drawings, in which:

FIG. 1 is a semi-schematic depiction of the radar tank gauge system.

FIG. 2 is a detailed semi-schematic depiction of the RF unit of FIG. 1, particularly showing the functions of RF generation, signal coupling, RF transmitted signal control, and difference signal detection.

FIG. 3 is a functional block diagram of the audio amplifier and signal conditioner.

FIG. 3a is a graphic representation of the gain characteristic of the signal conditioner of FIG. 3.

FIG. 4 is a graphical representation of the signal processing and conversion of the disclosed invention, particularly showing the relationship in time and frequency domain of transmitted, reflected, and difference signals.

FIG. 4a shows four cycles of a typical swept frequency signal as transmitted by the tank gauge antenna. Also shown is a representation of a reflected signal.

FIG. 4b is a graphic representation of the sampled window or "bin" as used in the invention.

FIG. 4c is a graphic representation of the reflected and mixed difference signal stored in the bins of 4b.

FIG. 4d is a conceptual representation of "typical" signals obtained from mixing the transmitted and reflected signals of 4a.

FIG. 4e is a graphic representation of the time based reflected difference signal, stored in the bins of FIGS. 4b and 4c, now transformed to the frequency domain.

FIG. 5 shows in graphic display the amplitude/frequency relationship of the difference signal, particularly showing determination of the centroid or "carrier" frequency of the reflected difference signal.

While the invention will be described in connection with a preferred method and typical embodiment, it will be understood that the radar gauge disclosed does not limit the invention to the methods and embodiments disclosed. On the contrary, applicants intend to cover all alternatives, modifications, and equivalents as may be included within the spirit and scope of the radar gauge as defined by the appended claims.

DETAILED DESCRIPTION OF THE INVENTION

Turning first to FIG. 1, there is shown the radar gauge and signal processing system 1 incorporating an antenna 15 mounted internal of a tank or other containing structure 17, having contents 18 contained by the tank to a level such that the difference between the tank content surface 20 and height of the antenna 15 results in a distance or measure range 19. The RF and tank assembly 3 is separated from the signal processing assembly 5 by safety barriers 6. The function of the safety barrier is to allow use of the RF assembly 3 in hazardous areas by limiting electrical power available to a value which does not provide the opportunity for ignition of the volatile tank contents.

The RF and tank assembly 3 further utilizes an RF unit 11 (reference FIG. 2,) supplying continuous wave radio frequency power, typically in the 9.5 to 10.5 gigahertz range. Also in the RF and tank assembly is a control and signal processing unit 12 for establishing time sequence of transmitted antenna signals, calibration signals, and preliminary operation on tank difference signals. The control and signal processing unit 12 performs the operations necessary to process the complete range of return signals. Included in this range is the predetermined maximum distance as represented by reflection of the tank bottom. Bottom reflections are recognized and distinguished for large ullage measurements, i.e. levels of fluent materials in the tank. This provides positive identification of a known distance, resulting in improved range measurement.

The safety barrier 6 also acts as an interface between the RF and tank assembly, and the above mentioned signal processing and display assembly 5. The signal processing assembly further comprises a central processing unit 7 having a frequency analysis function for performing discrete Fourier transforms of difference signals. Also contained in the signal processing and display assembly is a display 25 comprising a cathode ray tube, and d'Arsonval meters providing continuous indication of the measured tank range 19 and other quantities in signal processing as may be required. Simultaneous digital display of tank ullage, time and frequency domain representations of the reflected signals, and other specialized displays essential for operation of a specific gauge application are readily provided. Those skilled in the tank level gauging arts will readily see that many forms and variations of tank display can be used with the signals provided by the invention disclosed herein.

Transmission of the radio frequency signal generated by microwave oscillator 27 is routed between the RF switch 33, and detector 31, by microwave circulator 35. An additional circulator is utilized to route calibration signals from the control switch 33 through the calibration delay line 13 in order to generate a reference signal. The significance of this signal will be described in more detail.

As indicated above, the return or received signal 42 differing in time phase from the transmitted signal 40 by a time/frequency difference 41 (reference FIG. 4a) turns from the antenna 15 through the RF switch control 33 and circulator 35 to the detector or mixer 31.

With further reference to FIG. 4, an RF signal 40 having a swept frequency as shown between 9.5 and 10.5 gigahertz is transmitted by an antenna 15 arranged to direct a concentrated signal to the surface 20 of tank contents 18. In keeping with conventional radar gauging techniques, the signal 40 returns to the RF unit via the antenna 15 as the signal 42 delayed by an amount 41 in both frequency and time relative to the transmitted signal 40 due to travel to and from the fluent material surface. As shown, the received signal 42 is mixed with the originally transmitted signal 4 in the detector 31, generating a difference signal 48 (ref. FIG. 4d). Difference signals are stored in sample windows 43, having a period 44 identical to and synchronized with that of the frequency sweep portion 41 of the transmitted signal 40.

Operation of the circulator 35 will be well known to those skilled in the microwave arts and therefore not discussed in further detail. In operation, portions of the transmitted signal are also directly sent to the detector. Detector inputs now consist of the initially transmitted signal and the received signal delayed in time as indicated above. The mixing or detecting operation, also well known to those skilled in the radio frequency arts, provides an output frequency equal to the difference of the transmitted and returned signals. In the case of the invention disclosed herein, the mixed or difference signal 48 is in the audio frequency range characteristically 0.250 to 9.6 kilohertz for reflected signals traveling the distance 19 of 1 to 40 meters. A graphic representation of these return signals 48 are shown in FIG. 4d.

In keeping with the novel and inventive aspects of the applicants' invention, applicants have discovered that samples of the difference signal 48, taken in time synchronization with the period of the transmitted sweep signal 41, are stored for periods identical, i.e. having the same initial and terminal times, to that of the frequency sweep portion of the transmitted signal. This synchronous processing of difference signals, when transformed into the frequency domain, eliminates the phenomena known as frequency leakage. Non-synchronous sampling would result in introduction of additional frequency components, introducing frequency leakage errors into the signal representative of the tank ullage 19, in the mixed signal 48.

Applicants have further discovered that application of on-line direct Fourier transforms of the stored difference signals during the intervals Ts', indicated as 46 on FIG. 4c, provides a frequency domain representation 50 (reference FIG. 4e) of the measured and stored time domain return frequency 48, containing essentially all of the frequency components necessary to accurately determine the tank ullage 19 contained in the returned signal 42.

Further signal processing in the frequency domain in keeping with applicants' inventive discovery, proceeds with determination of a centroid of the synchronous frequency distribution of the return signal 48. With particular reference to FIG. 5, the now transformed signal 55 of the returned mixed signal 48 is shown in a SINx/x form. As those skilled in the art of transform mathematics will readily see, the SINx/x representation 55 shows as vertical components along the frequency axis here typified as 57 and 58, frequency components of the returned and mixed signal 48. As transformed, the components of the returned signal include extraneous frequency components returned to the antenna 15 through oblique reflection, noise, and non-direct radio frequency signals from other unknown sources. As these are not of interest in measuring the tank ullage, applicants have discovered that the frequency domain representation establishes a dominant frequency shown in FIG. 5 as component 56. An additional and substantial error is also introduced due to the relative non-linearity of the frequency sweep over its range of 9.5 to 10.5 gigahertz. In keeping with the invention disclosed, applicants have utilized techniques for linearizing sweep frequency voltages as are typically available from state-of-the-art equipment. Linearization is accomplished through generating a compensating control voltage wave form utilizing digital information stored in the central processor. Under control of the central processor, linearizing signals are applied to the voltage controlled oscillator portion of the variable frequency oscillator 27.

Novel aspects of the discovery disclosed herein can best be described through the following exemplary and nonlimiting example. For the case typically disclosed where the tank ullage range or distance of 40 meters is desired, the following well known relationship between return signal difference frequency, and other system parameters is representative; ##EQU1## where; B=the return signal frequency band width, i.e. the sweep frequency range of the oscillator 27 under sweep control 36 from the sweep linearizer 10.

R=40 meters, the desired measurement range.

T=0.025 seconds correponding to the sweep frequency period of oscillator 27 at 19 sweeps per second.

It should be noted that the sweep frequency is essentially an arbitrary quantity chosen to provide adequate measurement taking into account the maximum rate of change of the ullage 19.

c=3×10⁸ meters/seconds, the speed of light and the transmitted signal.

If the above relationship is rearranged to determine the range R; ##EQU2##

Substituting the above constant provides the following;

    R=f.sub.d /250

Since the difference frequency f_(d) is measured to the accuracy of the quantity δf, then the corresponding accuracy of the range measurement δR is; ##EQU3##

Since, in the system disclosed, the sweep or sample frequency is approximately 18.75 hertz, the observational period is approximated by; ##EQU4##

In the frequency domain then, the return difference frequency represents a measured range increment δR equal to 1/250×53.3×10⁻³ =0.075 meters.

The above figure, i.e. 0.075 meters represents the basic distance which can be resolved through conventional conversion of the returned time domain signal f_(d) in the frequency domain. Also, return signal errors in the above measurement are introduced by conventional instrumentation and measurement inaccuracies.

More importantly, errors due to corruption of the return signal spectrum in the frequency domain as would be transformed by prior art approaches, by inclusion of energy in the form of extraneous signals due to noise, uncontrollable, spurious reflections from inside the measuring tank or container, and other random energy measured as signals, are incorporated in the return signal f_(d). Prior art analog filtering methods suffer from inclusion of this error due to the non-linear characteristic of their filtering components. These errors are well known in the art as "frequency leakage".

In keeping with the invention disclosed herein, it has been discovered that frequency leakage can be substantially eliminated by synchronous measurement of predetermined time quantities of the return signal, as indicated earlier and shown in FIG. 4.

If synchronously measured and properly stored samples of the return difference signal are transformed or converted into the frequency domain utilizing a discreet fast Fourier transform, the frequency spectrum of the return signal f_(d) is essentially preserved, allowing, in further keeping with the invention disclosed, determination of the centroid of the return signal spectrum, as a discreet frequency representing a measurement of the tank ullage having substantially increased accuracy.

In keeping with the invention disclosed, synchronous sampling of the returned frequency f_(d) for an ullage or range value of 40 meters and a sweep sample rate of approximately 19 hertz, and a maximum return difference frequency f_(d) of approximately 19×10³ hz/second, a discreet number of sampling periods or bins synchronized in the above system is determined.

In order to avoid the frequency leakage inaccuracy, sampling periods for transformation by fast Fourier transform (FFT) as indicated above, the invention disclosed herein contemplates use of an integral number of bins or storage periods corresponding and synchronized to the oscillator frequency sweep. The number of storage bins also incorporates maximum storage sample frequency at least two times the maximum returned difference f_(d). Therefore, the number of bins or groups for storing values of the return frequency f_(d) is; ##EQU5##

However, as the sampled period is one half the sweep period, 512 bins or samples can be used.

If 1025 or an integral number of sample periods or bins are measured and stored, in keeping with the invention disclosed, a fast Fourier transform of the return signal derived from the above bins will essentially eliminate frequency leakage. Therefore, the transformed difference signal f_(d) in the frequency domain will demonstrate a spectrum of vertical lines, 55, 56, 57, and 58 (reference FIG. 5) providing a means for determining the most likely or carrier frequency in the measured samples of difference frequencies, i.e. frequency 56 of FIG. 5.

As will be discussed below, this technique in combination with conventional methods of determining centroids of the transformed frequency spectrum 55 provides a convenient method for improving the accuracy of the transform through introduction of zeros to prestored bins representing previously recorded values of return difference frequencies.

A zero introduction technique, a further aspect of the invention disclosed, allows the FFT to essentially generate a frequency spectrum over a sample period effectively made larger by the number of zeros added, resulting in increased accuracy in final determination of a frequency centroid.

Conventional digital signal processing using power spectral density analysis provide a means for determining the peak frequency 56 having a maximum amplitude and rejecting others, thereby increasing substantially the accuracy of tank ullage measurements. Frequency component 56 in essence, can be considered a "carrier" frequency having a time phase difference from the transmitted signal 41. The centroid location along the frequency axis, of a "typical" mixed return signal, is in fact a highly accurate representation of the time required for the radio frequency signal to traverse twice the distance between the antenna 15, and surface of the tank contents 20.

Applicants discovery therefore, provides a highly accurate mathematically rigorous method for isolating a single signal from the received signal after mixing, which provides a convenient method for rejection of spurious components. This approach attains accuracies in the order of +/-1.0 millimeter in distance measurements or tank ullage 19 of forty meters.

Computations including transformation of stored portions of the return signal 46 (reference FIG. 4c) into the frequency domain, and determination of the component or carrier 56 of the transformed difference signal 55 are performed continuously and on-line in the frequency analysis portion 9 of the central processing unit 7.

In operation, transmitted signal 8 from antenna 15 positioned closely adjacent to the tank surface at a range 19 from the surface 20, varies in frequency from 9.5 to 10.5 gigahertz at a sweep frequency of 18.75 hertz, giving a swept frequency period of 53.3 milliseconds as indicated above. Reflected signals 42 under control of the sweep control clock of the central processing unit 7 and TR switch 33, return via antenna 15 and circulator 35 to the detector/mixer 31.

Mixer or detector 31 generates a difference signal 48 which is returned to the frequency analysis portion 9 of the central processing unit 7 via the sweep linearizer 10. As the linearity of the frequency sweep, i.e. the linearity of the leading edge 41 of the transmitted signal, substantially affects the accuracy of ullage measurement, applicants' method utilizes the most linear portion of the sweep signal 4 (reference FIG. 3a). Applicants have discovered that adjustment of the utilized portion of sweep signal 4 is best accomplished in each assembled system. As the sweep signal is readily available in the display means of the processor 25, provision for adjusting the overall system so as to use the most linear portion of the sweep signal 4, are provided.

The CPU 7 generates a sampling pulse 46 in synchronization with transmitted signal 40. Typically, as indicated above, during the sampling period 44, 512 samples are stored at a frequency of 18.75 hertz.

Depending on the particular range or value of ullage 19, a difference signal 48 having a frequency of 0.250 to 9.6 kilohertz is generated during the swept portion 43 of transmitted signal 40. For a sampled signal having a period T, under control of the CPU 7, the sampled window is T/2 again in a synchronous relationship with the transmitted signal 43.

This method of sampling the mixer generated difference signal, when transformed into the frequency spectrum, provides discreet frequencies evenly spaced at 1/T, i.e. where T is the period of the transmitted swept signal, present in the frequency spectrum. Typically, frequency bin width is 18.75 hertz, corresponding to a sampling period of 53.3×10⁻³ seconds. Under these conditions, this represents 75 millimeters of ullage as shown above.

Returned and mixed signals from each storage bin after transformation from time to frequency domain are arrayed in a frequency domain representation roughly shown in FIG. 5. The representation in FIG. 5, while of the SINx/x configuration, is only typical, i.e. other amplitude/frequency distributions of the transformed signal can and may be obtained. The vertical frequency "spikes" 56, 57, and 58, represent discrete frequencies as transformed. Due to the synchronization of the sweep and sampling periods as shown in FIG. 4, these discrete frequencies are spaced at 1/Ts, that is, at a frequency spacing equal to the sample frequency. With particular reference to FIGS. 4d and 4e, the results of synchronous sampling of the difference signal 46 is shown. In particular, FIG. 4e represents the discrete frequency representation 50 of the time varying difference signal 48. It should be noted that synchronizing the period of the sweep frequency 41 with the sample period Ts' of FIG. 4c results in a frequency representation of the returned difference signal, having an identifiable dominant frequency represented by the peak of signal 56. Further to FIG. 4e, the band width of the dominant frequencies is equal to 2×1/T, where T is the period of the swept frequency signal 40.

Determination of the centroid of frequencies represented by the predetermined number of sample periods or bins, in this case 512, proceeds with transformation of the group of sampled signals in each bin from time to frequency domain with the consequent identification of a dominant frequency. The frequencies so determined are then scanned for maximum amplitude. In keeping with applicants' discovery, the frequency array in the vicinity of the maximum amplitude of the entire dominant frequency array is further refined to determine a unique frequency at the centroid of the power spectral density spectrum. This computation proceeds using centroid determining techniques well known to those skilled in the art, involving multiplying the amplitude of each frequency spike by its frequency from a predetermined zero or data reference point. The total sum of these products is then divided by the sum of all frequencies for each individual spike, thus determining the center or centroid frequency most representative of the true reflected signal from which an accurate value of ullage can be determined.

In keeping with the inventive concepts as disclosed, use of the power spectral density contained in the synchronously sampled signal when transformed into the frequency domain, and application of power spectral density techniques can reduce the resolution of any particular measurement along the time axis (reference FIGS. 4c, and 5) to plus or minus 1.0 millimeter at a maximum range of 40 meters.

With continuing reference to FIG. 4, measured distances represent return signals along a time axis returning later than, or lagging the swept transmitted signal 40, in time and frequency. In this case, the signal 42 represents the signal containing information by virtue of its time lag, essentially twice the distance between the transmitting antenna and surface of the contents of the tank 17.

Further, at each sampled window 43 having a sample period 44, information relative to the power spectral density distribution of the return signal 42 is made available in stored form. As discussed above, power spectral density (PSD) techniques provide a means for greatly increasing the accuracy of measurement through determination of a virtual carrier or fundamental frequency representative of the true time of transmission over a distance two times that between the transmitting antenna and the surface of the tank contents.

In order to utilize the carrier frequency domain information in a final determination of tank ullage, applicants have discovered that calculation of the centroid of the now transformed frequency domain difference signal incorporates the entire power spectral density of the transformed difference signal. This approach constitutes a major discovery in that, as indicated in FIG. 5, a unique or clearly identifiable carrier frequency depicted as 56, may not appear in the transformed difference signal. However, the use of power spectral density techniques (reference FIG. 5) in determining the relative magnitude and frequency of measured components present in the transformed difference signal, determines a "virtual" carrier incorporating or estimating the transformed components of the reflected wave utilizing a mathematically rigorous technique. The carrier frequency so determined provides a basis for measurement of tank ullage having greatly increased accuracy.

Further improvement in determining an accurate virtual carrier frequency from synchronously stored data can be accomplished through adding zeros to the individual bins in multiples of the initially collected group. In this case, as the initial storage proceeded on the basis of 512 storage intervals, adding an additional 512 zeros to each bin as located in the CPU, and proceeding with the transform, effectively provides transformed information based on 1,024 samples, resulting in substantially improved resolution of returned difference signals in the frequency domain. It should be noted that no new information is required and that due to the intermediate storage technique wherein bin data is available for processing, distance measurement can proceed with the initial 512 samples, followed by a further determination based on 1,024 samples. Those skilled in the art will readily recognize the possibility for adding additional zeros and proceeding with a transform operation on the basis of integral multiples of 512, i.e. 1,024, 2,048, and so on.

Determination of the refined carrier frequency would then proceed as indicated above, wherein the maximum amplitude and centroid would be calculated for use in the range for tank ullage formula discussed below.

Exact determination of the tank ullage or distance 19 proceeds with the determination of a similar difference signal in a time sequential calibrate operation. The calibrate difference signal is determined through the use of periodic sweep radio frequency output passing through the transmit/receive (TR) switch 33, and entering the circulator 35 has an output to calibrated delay line 13 and an input from the calibrated delay line 13. In a manner similar to that described above for the transmitted antenna signal, a calibrate difference signal representative of time delay of a transmitted RF signal through the known length of calibration delay line 13 is similarly processed.

The now transformed and determined "virtual" carrier frequency of the returned delay line signal is used to determine a calibrate centroid of the returned delay line difference signal.

A corrected value of the range or ullage indicated earlier is therefore; ##EQU6## Where: R=the corrected value of measured range 19,

n_(a) =the centroid of the difference signal f_(d) determined according to the disclosed invention in arbitrary units;

n_(c) =the centroid of a returned calibrate distance determined according to the disclosed invention in arbitrary units;

L_(c) =the known length of the calibrate delay line 13;

R_(o) =an effective length correction for constant and determinable inaccuracies introduced by the radio frequency structure.

Tank ullage 19 can now be determined as being equal to one-half of the distance represented by time of signal travel from one end of the calibrate delay line, multiplied by a quotient, having a numerator equal to the centroid of the received antenna difference signal, and a denominator equal to the centroid of the calibrate difference signal. Determination of these signals and centroids was discussed above. A further correction for signal time delays inherent in the processing and measurement systems such as distance between the mixer, TR switch, and antenna are also incorporated. Typically, an average of two measurements, i.e. two determinations of the antenna difference signal incorporating a time to frequency transformation determined by 512 samples, and a similar measurement of the delay line difference frequency.

Thus, it is apparent that there has been provided in accordance with the disclosed invention a radar tank gauge that fully satisfies the objects, aims, and advantages set forth above. While the particular gauge as disclosed and its attendant signal processing technique has been described in conjunction with a specific embodiment, it is evident that many alternatives, modifications, and variations will be apparent to those skilled in the art in light of the foregoing description. Accordingly, applicants intend to embrace all such alternatives, modifications, and variations as fall within the spirit and broad scope of the appended claims. 

Therefore, we claim:
 1. In a radar tank gauge having a directional antenna mounted in predetermined proximity to the surface of the tank contents, for transmitting a continuous wave swept frequency radio frequency signal to said surface, said gauge including simultaneous measurement and comparison of signals transmitted to and reflected from said surface, and generating a difference signal representive of the distance between the antenna and tank level, the improvement comprising;means generating a periodic first measuring signal of predetermined frequency and duration; means transmitting said first measuring signal to said surface; means receiving the reflected first signal and generating a first return signal; means generating a first difference signal representative of the frequency difference between said first signal and first return signal; means measuring the frequency of said first difference signal in time phase synchronization with said transmitted measuring signal; means storing groups of said measured first difference signals, said groups having a predetermined time period; means transforming said first difference signal groups from time to frequency domain, thereby generating a power spectral density representation of said first difference signal; means determining the frequency centroid of said transformed first difference signal, thereby generating a first carrier frequency value, said value closely representative of a true first difference frequency; means simultaneously applying said first measuring signal to a delay line thereby generating a second reflected signal and second return signal, said second return signal representative of a known distance; means deriving a second signal representative of the frequency difference between said first measuring signal and second return signal; means measuring said second difference signal, said measurement having an interval in time phase synchronization with said first signal; means storing said groups of said measured second difference signals, said groups having a predetermined time period; means transforming said stored second difference signal groups from time to frequency domain, thereby generating a power spectral density representation of said second difference signal; means determining the frequency centroid of said transformed second difference signal whereby a second carrier frequency closely representative of said known distance is determined; means comparing said first and second carrier frequencies and generating a coefficient representative of the distance between said antenna and tank level; means applying said coefficient to said known delay line length; whereby said known distance is converted to said antenna/tank distance.
 2. The improvement of claim 1 further comprising;means storing a predetermined value of said coefficient, said coefficient representing a predetermined limit of said antenna/tank level distance; means comparing said stored and antenna/surface distances; whereby coefficients greater than said stored value are disregarded. 